<%@ Page Language="C#"  Inherits="System.Web.UI.Page"%>
<%
string clientQuery = Page.ClientQueryString;
if (clientQuery == "METAItem")
{
    Response.Write("You came from the document's context menu.");
}
%>